glu/sgi: Add assert to check for null pointer dereference.