Ivo Karlovic claimed the scalp of fourth seed Tomas Berdych in the opening round of the Qatar Open in Doha.