Check for buffer overflow for rail/lightning surfaces
Fix check for jpeg_mem_ to work with libjpeg-turbo
Merge pull request #34 from robo9k/issue/libjpeg-turbo

Fix check for jpeg_mem_ to work with libjpeg-turbo
Merge remote-tracking branch 'ioquake3/master'

Conflicts:
	code/renderergl1/tr_surface.c
	code/renderergl2/tr_surface.c