[PATCH 4.17 199/336] libata: Fix command retry decision