Fixed the C++-printing of templated types not to append an additional ":...

...:".

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>