[PATCH 4.14 36/62] gpio: pl061: handle failed allocations