Cache: better compatibility with APCu

This makes the `Apc` cache adapter more compatible with `APCu` even if `APCu` was compiled in full compatibility mode.