main: remove not-deleted #ifdef QT_NO_SHAREDMEMORY
SharedMemory: fix flags for DosGetNamedSharedMem()
SharedMemory: clear _attached