[PATCH 5.10 131/151] ata: libata-core: Fix null pointer dereference on error