key/key-io.c: Fix segfault opening `KOPEN_READ | KOPEN_NOFILE' key files.