Drop 10.7/10.8 compatibility.

Remove conditionals going back to 10.5.
[NSURL fileURLWithPath: nil] doesn’t work.

Caused (at least in 10.10) the media open sheet not to display if the alert sound was selected.

Also remove some pre-10.7 compatibility code.