pinctrl: core: fix missing unlock on error in pinctrl_find_gpio_range_from_pin()