[PATCH 5.10 90/99] fs: add mode_strip_sgid() helper