[PATCH OLK-6.6 207/244] gpiolib: sysfs: Fix error handling on failed export