Pass EC by reference to MemoryBufferMMapFile to return error code.

Patch by Kim Grasman!