gpiolib: call pin removal in chip removal function