_pmap_alloc_l3 can be used on a stage2 pmap, but it does not distinguish
the stages when setting attributes. Explicitly check for stage1 before
assigning an attribute that would be RES0 for stage2.
Signed-off-by: Kajetan Puchalski <kajetan.puchalski@arm.com>