hwc: Avoid changing VG pipe color format dynamically

VG pipe can be allocated for both YUV as well as RGB layer.
Switching this color format dynamically can cause overlay set
failure due to smp allocation change. Avoid this condition by
storing the color format it is allocated for.

Change-Id: I84df03883bd050c80d49e2ab63a37905535fb670
2 files changed