core: convert LinearMap and LinearSet to iter::OwnedIter