[PATCH 6.1 20/71] ata: libata-core: Fix null pointer dereference on error