DebuggerItemModel: Fix assert.

Change-Id: Iff0adabe3e2e7fc0b84ce90557a3da8a6c4030fe
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>