Move parts of lib/Target that use CodeGen into lib/CodeGen.