dumpcpp: remove the need for a temporary header file


moc can process stdin. When it does, it doesn't produce the #include
directive.

Change-Id: I95b0d396b67f47887addfffd0d16034a48171bf8
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
commit6444b6036d3e8abc085ba9e165fc1fc67f0cba85
parent4664acf185b056e38933bd42a29bc012f1011d0b
authorThiago Macieira <thiago.macieira@intel.com>
committerThiago Macieira <thiago.macieira@intel.com>
commit timeFri, 11 Oct 2024 23:27:54 -0700