gir: Improve the deprecation check
Deprecation annotations should have a version and a message, but neither is mandatory.
If find a deprecation node, we explicitly mark the element as deprecated.
Deprecation annotations should have a version and a message, but neither is mandatory.
If find a deprecation node, we explicitly mark the element as deprecated.