pinctrl: mediatek: fix global-out-of-bounds issue (CVE-2021-47083) | HOL Guard CVE