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