MediaCodeInfo: fix support for feature-can-swap-width-height

Also fix an issue with limiting size based on number of
blocks allowed.

Bug: 11990740
Change-Id: I3b01be4031dce6b425e8573da5de527ba2a0995c
1 file changed