btrfs: fix use of uninit "ret" in end_extent_writepage()