[sanitizer] Move log_path to common flag and use it in MSan.