hw/arm/virt: fix max-cpus check