deps: make checkpoint/restore an optional feature for minimal embedders
Kamchatka reports that bincode 1.3 fails its cargo-deny policy under RUSTSEC-2025-0141. The advisory has no patched version, so bumping bincode will not resolve it.
Make checkpoint/restore an optional sandlock-core feature, enabled by default to preserve current behavior. Minimal embedders that disable default features can then omit checkpoint support and its bincode dependency.
Gate the checkpoint APIs and restore stub build accordingly, and forward the feature through crates that expose or use checkpoint operations, including FFI and OCI as appropriate. Keep the feature wiring consistent with the existing optional http feature.
The separate syscalls BSD-2-Clause allowlist adjustment can be handled by the embedder.
From Łukasz’s kamchatka integration feedback, request #9.