Fix compile error in warning code

Only print debug info for the first CPU.  We only have one CPU,
so I removed the loop rather than try to fix it.
Fix machine compile errors

Update machines to reflect changes in QEMU
Fix compile errors related to QEMU qdev changes

1) Remove references to SYSBUS macros.  This requires defining
   type-cast macros for the STM32 devices (which was started earlier
   but never finished).
2) When calling the gpio procedures, reference the device properly
   using the DEVICE macro.
Add parent object refs when declaring memory regions
Remove SYSBUS reference - this was missed in an earlier commit
Fix procedure calls to create device properties
Update GPIO IRQ structure reference to match new location in QEMU
Reapply changes to the qtest framework

These changes were lost when merging in the changes from QEMU 2.1.
Essentially just re-applying the changes that were there before the merge.
Update timer and clock calls to reflect changes in QEMU