Move activeStgRegs into CodeGen.Platform