[PATCH 6.1.y] mm: shmem: fix data-race in shmem_getattr()