arm: fix compilation with CONFIG_FDT