Add ability to optimize LLJIT modules by moving the TransformLayer
from LLLazyJIT up to LLJIT so it can be used by both. The LLLazyJIT
interface and functionality remains unchanged.
This is a minimal patch that reuses TransformLayer for both LLJIT and
LLLazyJIT. This shouldn't be a problem, since LLLazyJIT functionality
remains unchanged. However, an alternative would be to add a module
specific TransformLayer.