[PATCH] gpio: mockup: fix NULL pointer dereference when removing debugfs