bin/am2cmake.py: remove large chunk of debug code