[PATCH 5.11 127/342] btrfs: convert logic BUG_ON()s in replace_path to ASSERT()s