Moved IR make functions to IR.cpp.

Moved IR node 'make' functions from IR.h to IR.cpp. This happened to shrink our code size by a small amount, and reduced compile time by a slight but significant amount (~5-10%). 

My motivation for this was to allow IRPrinter to be used in the assertions in these functions, which is now possible.