Add return const pointer value or default

Adding support to returnConstPointerValueOrDefault. Ignore the name of the branch, it was a mistake :-).