av: OMX and camera fix ported from cm-10.2