[PATCH 6.1 201/215] gpiolib: Fix the error path order in gpiochip_add_data_with_key()