gallivm: add cache interface to mcjit