vzctl: do not allow too high CTID

Commit 8785cbd2 already introduced the check for too high CTID.
Some kernels also use a few values close to INT_MAX for internal
purposes, so such CTs can not be started.

Add CTID_MAX and fix the check for CTID to use it.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
2 files changed