Navigation firm TomTom posts operating loss as auto sales slow