flex_array: fix get function for elements in base starting at non-zero