scanf: support '*', which matches without assigning to an argument.

For example, sscanf("1 2 3", "%*d %d", &foo) stores 2 into foo.

I tested this by running test_sscanf* and test_files.