[PATCH 4.4 122/143] gpio: pl061: handle failed allocations