btrfs: make reflinks respect O_SYNC O_DSYNC and S_SYNC flags