g10: Make the keyblock cache per-handle rather than global.