Some fixes in LLVM::Function and LLVM::FunctionType

I've fixed some errors in LLVM::Function and LLVM::FunctionType.

 1. Incompatible type in LLVM::Function#type
 2. Undefined method call in LLVM::FunctionType