Workaround vala 0.10 bug LP 1250543

vala 0.10 appears to generate completely broken c code when
attempting to drectly access the length of an array property.
Fixes segfault in moonshot-webp on Centos.