Fix clang compiler warnings on OSX, fix legacy GStreamer

Fix the “crash for pixelFormat 6” bug for video capture for legacy
engine as well, and some clang whining.
-> Screen for 64-Bit Octave on OSX rebuilt and tested.
-> Shader-based decode works crash-free on OSX now.