[sanitizer] Intercept textdomain.

Patch by Alexander Taran.