[IoTConnectivity] Fix build warnings