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