check_prototype_definition
Introduce `check_prototype_definition_safe` that is safe for `Werror` usage.