Fix gcc -pedantic warning in lto.cpp.