bindings: fix type of array_len member