Add transformation to relocate variables into address space records.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>