Implemented arch detection for llgs attach.

This was missing before.  This caused asserts/failures in places
that needed to know the architecture (like NativeThreadProtocol::GetRegisterContext()).