[rbp/omxplayer] Restructure COMXImage

Tidy up of COMXImage. Separate into file reading, encode and decode classes with separate locks.
This allows some overlap of functionality which improves the speed.

Move some Pi specific code from Texture.cpp and Picture.cpp to RBP.cpp.