Add a script to check that the signatures of native functions match the C++ signatures

Currently only matches functions.

Since signature mismatches in HNI natives just cause really weird segfaults, and I keep missing the odd one, a way to make sure the signatures match would be of use.