Fixes const-correctness of glMultMatrixd.