gpiolib: Use spinlock_t instead of struct spinlock