Change polygon test refs to use writing modes

This requires more ref files; however, failures were seen with these
tests in Blink when the refs did not use the same writing mode as the
test itself.