[PATCH openEuler-5.10 285/427] pinctrl: renesas: core: Fix possible null-ptr-deref in sh_pfc_map_resources()