mm-video-v4l2: fix some rotation issues

- 1. client may call set_param for portdef several times, don't set
  frame size to codec if it's unchanged, otherwise it may override
  rotated framesize.
- fixed incorrect dimension in output dump
- support dump both rotated & un-rotated input buffer

CRs-Fixed: 2566201

Change-Id: I28617eb0dc311f42406527057dc701100054cf54
3 files changed