remove casting to fix build error

Dependents:   RTC_Demo

USBMSD/USBMSD.cpp/shortlog/shortlog@80ab0d068708: not found in manifest