Valgrind: Fix compile

Change-Id: I247ba4ba11fc036d0afaa70d98e89eaf2315b60a
Reviewed-by: Eike Ziller <eike.ziller@digia.com>