Fix CMake-Automoc output parsing
Prepare for AUTOMOC->AUTOGEN rename

This is in CMake master already.