[PATCH 5.15 161/183] serial: 8250_port: Check IRQ data before use