librustc: Pass the correct type when adding cleanups.