[PATCH 5.10 100/201] btrfs: check if the transaction was aborted at btrfs_wait_for_commit()