gstinfo: Optimize color escape code creation
When coloring is in use, those escape codes are going to be created many times for almost all debug lines.
Don't create plenty of temporary allocations, and instead build the escape code ourselves statically