cmStandardLevelResolver: add query for the effective standard level This allows for improved error messages.