orangefs: add helper to set up inode operations

Factor out a helper to set up the inode operations from
pvfs2_get_custom_inode_commmon so that it can be reused from other callers
later.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>