Ported pico_ql_pre_retrieve_c.erb for Valgrind in master.
Enhanced the respective Ruby template for CPP binding (cpp.erb).