ui: Allocate the custom buffer size in the failure case also

The custom buffer size was not being honored if memory allocation
failed in the first pass.
Also - removing an unnecessary check.

Change-Id: Ie501b2dda3843454405fec05fc898fec5912bd06
Don't use fence sync for qcom legacy

Change-Id: Ice64233a25edee763a36a3ba34230d1360a0d610
native: Add custom 32-aligned NV12 colorformat

- Add color format which is NV12 + 32 aligned stride and slice

Change-Id: Iea804c2642ffad98890cbfe2979d56443f07ffdc
Merge remote-tracking branch 'cm/cm-10.1' into jb-mr1