libs: Use gst_param_spec_array for VIEW_IDS property
gst_param_spec_array can be deserialized from command line using:
vaapih264enc view-ids="<(uint)40,(uint)100>" num-views=2
while the g_param_spec_value_array can not and always get a error: gst_value_deserialize_g_value_array: unimplemented Also fix a out-of-range bug here.
Signed-off-by: He Junyan junyan.he@hotmail.com