[PATCH v6.1-v5.10] gpiolib: cdev: Fix use after free in lineinfo_changed_notify