Do not add road class transition penalty in routing.xml if determining shortest way.

The penalty probably shouldn't be added if looking for shortest way. Otherwise a longer road may be chosen, that has less penalty.