linuxrc: mount /dev/shm with appropriate permissions, see Gentoo bug #493652