Fix buffer overflow for array index out of bounds in test_07
Fix buffer overflow for array index out of bounds in test_07

The size of array surface_1 is 2, but it passed to test_unique_surfaces
func is 16 or 6 to do compare for surface_16. The index for surface_1
not in the array index range for surface_1 and access invalid memory
location.

Signed-off-by: Lim Siew Hoon <e412356d7e67dbdde94e841e5d46937fb9f4e623@intel.com>
(cherry picked from commit e4535e404d1dc33fb1fddf99f057c341fc652bfd)

01org/iotg-lin-gfx-libva,01org/libva-cros,01org/libva-cros,01org/libva-cros,01org/iotg-lin-gfx-libva,01org/iotg-lin-gfx-libva