[PATCH 6.9 134/222] ata: libata-core: Fix null pointer dereference on error