[PATCH 1/2] fs: add mode_strip_sgid() helper