[PATCH OLK-5.10] pinctrl: single: fix potential NULL dereference in pcs_get_function()