[PATCH 4.9 32/95] irqchip/gic: Take lock when updating irq type