remove casting to fix build error

Dependents:   RTC_Demo

USBMIDI/USBMIDI.h/shortlog@03f8e580579a: not found in manifest