carl9170 firmware: move cmd.c into hostif.c