gic_v3_wait_for_rwp checks RWP using the bitmask of GICD_CTLR_RWP
regardless of whether it is being applied to a distributor or a
redistributor. GICD_CTLR_RWP is bit 31, but GICR_CTLR_RWP is bit 3.
Use a dedicated mask variable, set in the switch statement depending on
the xdist variant, to make the helper check the correct bit in both cases.
Signed-off-by: Kajetan Puchalski <kajetan.puchalski@arm.com>