More Code::Blocks fixes (mainly for Linux)

Disable warnings for Linux build targets.
Fix Win32 BSPC exe name.
Code::Blocks: Only compile ui_shared.c in cgame if using missionpack UI
Fix warning about OpenGL1 variable maybe not being initialized

This was already done in OpenGL2 renderer.