cppgen: don't generate prettify code for unit variables