[PATCH 4.14 067/164] irqchip/gic: Take lock when updating irq type