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