mail/mailagent: clean up fallout to fix build...
patch parser.c's check_fatal to avoid the int-conversion errors,
and quench some warnings. Untested on FreeBSD 14, but
tested on 13.2 with clang15.
Note the code uses K&R style function declarations, not proper
prototypes, which upset newer versions of the clang compiler.
So pretend this were C99 code, too.
While here, propagate CC to the build.