osmesa: add new OSMesaCreateContextAttribs function