pata_hpt366: add hpt36x_find_mode() helper