[PATCH openEuler-5.10-LTS-SP1 086/263] gpio: mockup: fix NULL pointer dereference when removing debugfs