[PATCH 4/5] mfreadwrite/reader: Setup the sample allocator in ReadSample.