Fix jl_get_specialization
signature mismatch
#18334
Merged
jl_get_specialization
signature mismatch
#18334