streamlines refchecking undesired symbol properties

Unifies `checkDeprecated`, `checkMigration` and `checkCompileTimeOnly`
into a single centralized point of reference that is now consistently
called from `checkTypeRef`, `transformIdent` and `transformSelect`.
Merge pull request #3246 from xeno-by/topic/compile-time-only

streamlines refchecking undesired symbol properties