Refactor|LineDef: Extracted openRange(), visOpenRange()

On second thought, lets just extract this functionality altogether
and make it an overload of R_(Vis)OpenRange(), there isn't much to
gain from having it in LineDef.