[PATCH 5.10 053/141] gpio: mockup: fix NULL pointer dereference when removing debugfs