[Chapel Merge] Fix some annotations and improve the checker

Branch: refs/heads/master
Revision: e2571d8
Author: e-kayrakli
Log Message:

Merge pull request #16811 from e-kayrakli/perf-ann

Fix some annotations and improve the checker

Adds a patch to check_annotations proposed by @ronawho and fixes some annotation
mistakes that it shows.

[Reviewed by @ronawho]

Modified Files:
M test/ANNOTATIONS.yaml
M util/test/check_annotations.py

Compare: https://github.com/chapel-lang/chapel/compare/e4fb8420ccdf...e2571d8b8088