[PATCH 4.18 101/171] Btrfs: fix cur_offset in the error case for nocow