add an error message when parsing nested #defines in WML

This doesn't work, so it's better to give an actual message
rather than silently fail.

This is tangentially relevant to feature request #21343, I added
a code comment at the appropriate place where we might fill that
request.