Add Foreign.Marshal.Utils.Lifted.with function.