Mips port

The attached patches makes XBMC build on mipsel (tested on CI20) and the GUI also runs with the patches back-ported to Gotham.
Currently master can't be started on MIPS due to a crash in the internal FFmpeg copy.
maybe c/p the header from another XBMC file as that has up to date addresses. of course leave the (c) for Ralf Baechle