(validate_function_args) Fix two msg() bugs found by -Wformat.