[PATCH 4.9 50/83] Btrfs: fix cur_offset in the error case for nocow