[PATCH 4.14 24/94] gpio: Fix crash due to registration race