shmem/mmap: do not use O_CREAT in shared memory attach

master commit
open-mpi/ompi@56a8687c2a06b503a00dc92c41bd20bf761e040d
Merge pull request #56 from hjelmn/shmem_mmap_fix

shmem/mmap: do not use O_CREAT in shared memory attach