Btrfs: fix locking on ROOT_REPLACE operations in tree mod log