[PATCH 5.15 184/215] ata: libata-core: Fix null pointer dereference on error