[PATCH 6.5 165/191] pinctrl: avoid unsafe code pattern in find_pinctrl()