[PATCH 6.18.y 2/3] btrfs: use variable for end offset in extent_writepage_io()