[PATCH 4.14 053/199] MIPS: OCTEON: irq: Fix potential NULL pointer dereference