VR: Do extra validation in VR HWC

Validate that the client target buffer is valid before using it and
validate that the requested layers have valid buffers associated with
them.

Bug: None
Test: Compiled
Change-Id: I4830d121e8ab519a24f954fe21c35199f1c1d900
2 files changed