llvm-vm.cc: Simplified code for creating llvm::Function objects

Instead of having to build an array in code every time, we solve the problem
with a variadic function.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>