glapi: Annotate XML with deprecated="3.1" for deprecated functions.