[PATCH 4.19 50/72] gpio: aspeed: fix a potential NULL pointer dereference