cryptodev: fix session pointer cast