Prefix macros with ERFA_ (and upper case them)

As per https://github.com/liberfa/erfa/issues/12 this PR adds a prefix ERFA_ to the macros (and upper case those that are lower case). It gathers the macro names before the calls to reprocess_sofa_* and makes the substitutions
before writing the files to disk.