CdbExt: Fix string to int for VS 2008.

Task-number: QTCREATORBUG-11057
Change-Id: I7da9f8fb08c1fd6820368f18c8750db4ec8fee2a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>