[PATCH 4.18 043/168] gpio: Fix crash due to registration race