[PATCH 5.15 043/148] gpio: mockup: fix NULL pointer dereference when removing debugfs