Add array variables to address space records as well.

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