String.Replace: Fixed multiple NULL-dereferences. Voidable arguments are set to NULL for UNDEFINED... Fixes [CID 1353481] and [CID 1353482].