Compilation fix for newer mbed-os

Fork of X_NUCLEO_IDB0XA1 by ST

Revision:
131:e09947216ccb
Parent:
130:770ce14d3d15