Have only one call graph node per function

This should fix the constantly increasing memory usage issue when call
graph is enabled.

Basically we now check if there's a node mapped to the same function
and if yes we use it instead of allocating a new node for every call.