btrfs: extent_io: add proper error handling to lock_extent_buffer_for_io()