[BACKPORT 5.10 PATCH] gpiolib: cdev: clear debounce period if line set to output