[PATCH 5.10 212/770] NFSD: Add a helper that encodes NFSv3 directory offset cookies