MemoryBuffer: remove unusued definitions

These were made redundant back in r186560.
MemoryBuffer: don't force mmap when stat fails

Fix error handling introduced in r127426 that could result in MemoryBuffers not
having null termination.