cmake: fix typegen --import flags

Signed-off-by: Ruben Smits <ruben.smits@intermodalics.eu>
Merge remote-tracking branch 'origin/master' into toolchain-2.7