fs: introduce two inode i_{u,g}id initialization helpers