[Modules] Move the LLVM IR pattern match header into the IR library, it
obviously is coupled to the IR.