[runtime] Take correct domain information from StackFrameInfo for each stack frame.

This should fix the problem with line numbers not being shown in stack traces (mono_print_thread_dump() etc.) where different frames are located in different domains.