Btrfs: fix preallocation and nodatacow checks in O_DIRECT