Fix eccf4722d9 (Cvar vtable problem)

The cvars would call virtual functions in the constructor which on some
compilers would cause segfaults (gcc). Move that call in the
registration of the cvar, which already has a workaround for that
problem.