Remove unnecessary function bodies from the runtime module used by the JIT.

The clang-generated module contains function bodies for a number of functions
that have already been compiled into the process (usually with linkonce odr
linkage).  This change deletes the bodies, leaving just the declaration.
Add missing call to ExecutionEngine::finalizeObject().
Automatically set JIT compilation options to generate code for the current host.