replace_all: avoid recursive replace

Do not search the replacement string for further
replacements.
e.g.: something like
replace_all(value, "&", "&")
would lead to an endless recursion.