Make #to_ptr behaviour match ruby-ffi - i.e. only support one level of #to_ptr, and #to_ptr must return an AbstractMemory instance.
Remove optimized versions of FFI::MemoryPointer.new and FFI::Buffer.new