Switched Element::Get_attributes to use a RootedVec instead of return… …
…ing a Vec<Temporary>, fixes #5684