[PATCH] ide: backport piix fixes from libata into the legacy driver