Fix libstdc++-v3 debug version path replacement

gub uses path like target/(arch)/src/cross/gcc-4.8.2/.
A wrong replacement happened like
target/(arch)/src/debug/cross/gcc-4.8.2/.