Eliminate a constant expression

Clang warns that the expression `graph->position < 0` is always false
because `->position` is unsigned. The whole function collapses quite
a bit as a consequence.