pidl/NDR/Parser: use helper variables for array size and length