[vobsub] Fix for incorrect colours with vobsubs and GLES

Fixes #15146

The code provides the overlay texture in BGRA format, which it informs GL about.
However GLES does not support BGRA, and just claims it is RGBA which results in a red/blue swap.

So this code path needs a red/blue swap.
Merge pull request #5450 from popcornmix/vobsub_bgr

[vobsub] Fix for incorrect colours with vobsubs and GLES
fixed: use the proper make instead of calling 'make' directly

fixes builds on freebsd
cmake buildsystem
add tests needed by new u16 string stuff
wrap cmyth properly
move some more install related stuff to install script
move all install code to platform install script
allow building without doxygen
fix building with yajl2
generate scripts in a subdir to avoid problems configuring in top dir
properly wrap library.xbmc.foo
link to threading lib
remove duplicate mpeg2 entry
properly locate java and swig

also use the detected paths for java, swig and doxygen
cosmetics: move all depends together for better readability
changed: build with a prefix to avoid cluttering the build dir

some peeps still do in-source builds out of old habits. this is
to annoy them slightly less, though they should STOP doing in-source
builds in the first place
grm
changed: patch libdvdnav to allow our usage of internal headers

also removes internal duped+patched headers
fixed: config.h has nothing to do outside the dvdnav build tree

though we are using internal headers, we do NOT want to set this
fixed properly through patchery