crypt32: Share more code between memory store deleteContext implementations.