[MERGE #843] Fix bug with handling of OOM while processing jit transfer data
[MERGE #843] Fix bug with handling of OOM while processing jit transfer data

Merge pull request #843 from rajatd:installGuards
We allocate equivalent type caches and register the current entry point info on the thread context as having equivalent type caches. Each of these operations could throw OOM.
The resetting of entrypoint's state in the OOM handling code should be agnostic of the success or failure of the aforementioned operations.

mrkmarron/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore