[PATCH 5.17 192/219] btrfs: fix root ref counts in error handling in btrfs_get_root_ref