Fix up array sizes in sdf_helper_read_data().

This is a temporary fix for FGE bug 176.
A better fix would be to correctly calculate array sizes when the
metadata is first being constructed. I think that this only affects
derived variables.