Validate request metadata before converting to HalCameraMetadata

Need to validate the request metadata to defend malicious attacks with
malformed metadata.

Bug: 236688120
Test: GCA and CTS on C10
Change-Id: I8fe06040f7060756521738be0b7174392be8fcdb
1 file changed