gpio: xgene: Prevent NULL pointer dereference