remove casting to fix build error

Dependents:   RTC_Demo

USBMSD/USBMSD.h/shortlog@1e3d126a322b: not found in manifest