hw: explicitly include qemu-common.h and cpu.h