cmd_fat: use common get_device_and_partition function