altos: Define ao_log_mutex in ao_log.c rather than every log product