[Ada] Fix internal error on subprogram instantiation with -gnatzc