Fixed #23298 -- Made makemessages actually ignore specified dirs on Wind...

...ows.

This was detected by two failures in the i18n.test_extraction of our
test suite.

Refs #20422, refs #22336