Don't add duplicate resolutions to r_availableModes

SDL can give the same resolution with different refresh rates.
The refresh rate isn't used, so only add resolution to mode list once.
Merge remote-tracking branch 'ioquake3/master'