MIPS: octeon: Use irq_get_trigger_type() to get IRQ flags