[PATCH 6.6 096/163] ata: libata-core: Fix null pointer dereference on error