[PATCH 6.1.y] btrfs: handle errors from btrfs_dec_ref() properly