util/sd_inode: add sd_inode_index_walk helper

This is more easier for callers to understand what it does instead of calling
a internal btree walker.

Signed-off-by: Liu Yuan <namei.unix@gmail.com>