Replace implicit dereferencing of Pointer typed variables with explicit Deref.

Patch by Karl-Filip Faxén.

Signed-off-by: Karl-Filip Faxén <kff@sics.se>