Since all callers were freeing the buffer immediately anyway, move this operation into radius_msg_free() to reduce code size.
Instead of using a define and conditional building of md5.c parts, move the internal-MD5 into a separate file.