Debugger: Ensure maximum number of elements in QMap display

Change-Id: I7de69c49245daf03ffd3e257cbd08f25b7bedd1d
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>