[PATCH 6.7 609/641] gpiolib: Fix scope-based gpio_device refcounting