UPSTREAM: irqchip/gic-v3: Refactor gic_of_init() for GICv3 driver