[JK2SP] Fix some Coverity warnings in JK2SP cg_camera.cpp.  Merged from JASP.