Fix omx encoder node so that it can handle the case where the SPS and PPS are returned by the encoder in a single output buffer. This patch also reverts most of the unnecessary changes introduced by QCOM bug - 2489213