Refactor|LineDef: Replaced more LineDef accessor/helper macros

Plus various const-correctness refactorings.