gi: add array annotations to get_languages
Also drops the null-terminated doc comment as gi-docgen shows that already if the function is annotated properly
Also drops the null-terminated doc comment as gi-docgen shows that already if the function is annotated properly