Fixed a bug with pointer pointing from the permanent heap to transient
heap. This makes the assumption that a unique variable name is being
used for each variable in the BIR format.