Optimize generated gsharedvt code: Load information from the gsharedvt_info variable instead of using an rgctx fetch trampoline, use optimized memcpy/bzero methods.