libata: Media rotation rate and form factor heuristics