Fix output stream selection during code generation, decorate globals with their source address.

Fix ADDRESS related bug in UserProc::dfa_analyze_scaled_array_ref