kernel: add KERNEL_GPIOLIB config option