[PATCH 5.4 022/267] fs: add mode_strip_sgid() helper