modem: fix some warnings about gpio