getLazyIRModule always takes ownership. Make that explicit.