[PATCH 5.19 051/207] gpio: mockup: fix NULL pointer dereference when removing debugfs