hwc: Give priority to secure layer while allocating VG pipe

- Make sure VG pipe is allocated to secure video layer first.
- If VG pipes are still available, allocate it for non-secure.

Change-Id: I82f41be24205ca77e97885a915c4a49e6dd61898
3 files changed