remove casting to fix build error

Dependents:   RTC_Demo

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