[PATCH 5.10 112/299] btrfs: convert logic BUG_ON()s in replace_path to ASSERT()s