I don't understand the issue here. You input GPL code (the headers) and get GPL code out, what do you expect?
The more insinuating issue would be if you started with a innocent seeming function that a typical software developer would write, and ended up with GPL code. Has anyone shown that to happen?