fix segfault when computing degenerate line lengths (#4972)
Don't treat OGR autostyle'd text as a mapserver expression (#4965)