fix unused variable warning in debuginfo.cpp on linux