Ensure newline after each header in cmakescan.py


Previously the last header from each CMakeLists.txt was missing a
trailing newline, causing it to be glued to the first header of the
next, when several were processed together.

Task-number: QTQAINFRA-6317
Change-Id: If967be85a8642e7fb38d38f8af1f5df5ddd3f299
Reviewed-by: Mate Barany <mate.barany@qt.io>
commit35b1ec606f77a25ec2736af057c645c202945e87
parent7533b621e35a1cc15cd8b1907fc3d2b4b714d3da
authorEdward Welbourne <edward.welbourne@qt.io>
committerEdward Welbourne <edward.welbourne@qt.io>
commit timeThu, 16 May 2024 10:39:42 +0200