Add script that rewrites header and asserts

Headers and asserts are currently more difficult to modify through
Clang itself.