Resolve X11/Xlib.h define of Bool and Qt5 (5.2)

Xlib.h has a "#define Bool int", which causes compilation issues with other uses of
Bool, specifically in qsonvalue.h in Qt5.  This patch rearranges the MythTV source file
includes to bypass the issue.

Fixes #12065
Signed-off-by: Stuart Auchterlonie <stuarta@squashedfrog.net>