[sanitizer] Intercept setlocale.