Fix build with gcc 4.8+
Use -Wno-error=unused-parameter with gcc >= 4.8
Disable aggressive-loop-optimizations for quake

Breaks build with gcc >=4.8
Merge remote-tracking branch 'RS/jb-mr1.1' into HEAD