[Ada] Fix bogus visibility error with nested generics and inlining