pidl/NDR/Parser: also do range checks on the array size