Replaced PTR_SEG_TO_LIN macro by exported MapSL function.