Eliminate the use of `extract()` in `MO::import_from_reader()`.

See #22400.

Built from https://develop.svn.wordpress.org/trunk@28472
Use binary-safe POMO_Reader::strlen() in MO::export_to_file_handle().