Move the FunctionLoweringInfo class and some related utility functions out