Make gcov work with .cpp source files as well

My last commit fixed the CPPUTEST_USE_VPATH for .c files but was still
broken for .cpp files.