camera: Support for double padding for rotaton in ZSL mode

Change-Id: I072d9edb4456d9330680a907f8ab0bfb69e22ff1

Conflicts:
	mm-camera-interface/mm_omx_jpeg_encoder.c
camera: Calculate the buffersize based on preference.

CRs-fixed: 348737
Change-Id: Id67e1e871c6e31568a271a038e7374d90fcb06dc