pata_amd: fix an obvious bug in cable detection