[openEuler-5.10 145/557] pinctrl: core: fix possible memory leak in pinctrl_enable()