Don't print "history not sorted" error in release build
Created by: ChrisSchinnerl
The hostdb currently ignores unsorted entries in a Release build. I think we shouldn't print an error at all in a Release build, but only log it. Otherwise we might confuse users.
Related to: #1799