objectcache: move ERR_* constants to IExpiringStore