[lint] correctly display annotations for all severities
GitHub's problem matchers only match against "warning" or "error" as
severities. So translate the "advice" and "disabled" severities into
warnings so they'll show up.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/76348
Approved by: https://github.com/seemethere