remove casting to fix build error

Dependents:   RTC_Demo

USBAudio/shortlog@2f8e3f5f75cf: not found in manifest