[mkgmap-dev] Commit r4494: fix some sonarlint issues, simplify code (no change in output expected)