smurf: Allow WVM cache to be disabled

We know in advance that the cache won't work properly in threaded
code so rather than trapping AST__OBJIN we simply provide the
ability for the caller to indicate whether the cache can be used.
We enable it for metadata fixup and disable it in the EXT model.