Use block form of FFI::MemoryPointer.