Annotate closure variable references

Currently the generated ILVariable annotation for closure variables is not propagated through the references.
This patch fixes it.