[sanitizer] Fix format string mismatches found by format attributes added in r199874.