msi/tests: Fix wrong character counts passed to RegSetValueExA. Add a function reg_set_str to always use strlen(string) + 1 the character count, and convert all such cases.