Support FreeBSD extattr API
FreeBSD supports extended attributes. However, its API is different from Linux xattr, so we have to disable xattr support in order to build GLib on FreeBSD. It will be nice if GLib can include support for FreeBSD extattr.
Link to extattr(2) man page: https://man.freebsd.org/extattr(2).