Implement FS_IOC_GETFLAGS

Gentoo Portage's FEATURES=xattr breaks because python's xattr.list()
reads regular attributes. Implementing FS_IOC_GETFLAGS fixes this.  Only
flags common to both Linux and Solaris are returned. Flags cannot be set
until FS_IOC_SETFLAGS is implemented.

This commit removes the ZFS_IOC_GETFLAGS and ZFS_IOC_SETFLAGS macros in
recognition that this is not equivalent to the Solaris operation. The
resolution of issue zfsonlinux/zfs#229 should implement something
equivalent.

Closes zfsonlinux/zfs#1691

Original-patch-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <ryao@gentoo.org>