iot_lab-M3: fix warnings

Fix warnings when building for iot_lab-M3.