Fix pickling test in test_memoryio.

The test was closing the orginal object instead the copy. This didn't result
in visible failures because the loop range was incorrect as well.
1 file changed