image: fix compiling without CMD_FDT