Expand an ALTREP object into a plain R vector.