[sanitizer] Intercept getresuid and getresgid.