ioapic: Replace FROM_SYSBUS() with QOM type cast

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>