gpio: fix spurious printk when freeing a gpio