CPlusPlus: Use correct placeholders in printf

Change-Id: I42a41608c2f025a196e539b58c1992049f7eca35
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>