Don't collect variables into wrong address spaces.

Local and constant address space variables were collected also into
private address space record if their addresses were taken.

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