[PATCH 6.7 027/346] soc: qcom: pmic_glink_altmode: fix port sanity check