postproc: fix crash on unpositioned edge

There seem to be cases where edges don't get a position in the layout.
Not sure where this bug is exactly, but we should give a warning,
rather than crash completely.