Remove compatibility code for Sanitizer::validateEmail

Sanitizer::validateEmail was added in 1.18, mw.org says min version is
1.19+, so this compat code is no longer needed.

Change-Id: I1ba1a8bd645c7e1c6cabe14f5efebfb8128ebf19
Merge "Remove compatibility code for Sanitizer::validateEmail"