Backport ed67d1ae2f9693ed42867a2e79b7cae4427574e3 to Dolphin 3.5.

This commit applies delroth's fix for the heat distortion issue
described in #2338 to the Dolphin 3.5 released source in order to play
Wind Waker (and other games affected by this bug) on Mac OS X 10.6.x.