powerpc: mac: pic: Use irqd_is_level_type()