gralloc: Add check for empty input vector in set

This change checks the size of the input vector in SetMetadata().
If the vector is empty, return UNSUPPORTED.

CRs-Fixed: 2654200
Change-Id: I81c2d52f3551609e50663d09aec3405d8ed5928d
1 file changed