[PATCH 4.14 36/49] gpio: aspeed: fix a potential NULL pointer dereference