Add architectures to fn create_object_file Fixes #102290 r? `@petrochenkov`
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.