libata: handle early device PIO modes correctly