Isolate cpu initialization function in hw/pc.c