[PATCH 5.15 05/11] fs: add mode_strip_sgid() helper