driver-core: platform: Catch errors from calls to irq_get_irq_data