[PATCH 5.10 241/290] gpiolib: cdev: Disallow reconfiguration without direction (uAPI v1)