remove casting to fix build error

Dependents:   RTC_Demo

USBMSD/USBMSD.cpp/shortlog@f8f057664123: not found in manifest