Only use KryoClassResolver when using incremental IdStrategy.

KryoClassResolver generates ids on the fly which is needed for incremental, but breaks default which expects the reserved NAME constant to be returned when the class is unregistered.

Fixes #35