[PATCH v7 3/8] kernelbase: Factor opening a subkey out of open_key().