Support GlotLID language and script identification (#2281)