glapi: add function to find extension by name