build: mount tmpfs on $BUILD_ROOT/dev/shm

This is required for shm_open to work at all