tests/qtest/ahci: Improve error handling (NEGATIVE_RETURNS)