Allocate VarRefs on the heap rather than stack.

While not ideal (extra small mallocs), this ensures that VarRefs
can be passed around easier in content-agnostic collections, NULL tested.
It also means less copying on the stack.