Fix avc_find_startcode to emmit correct sps/pps in codecPrivate data and in the stream

As requested. Fix the display problem on my TV.