Fix possible segfault for cvars registered from lua with flag CV_CALL
When adding cvar via CV_RegisterVar from lua, game uses lua_next to iterate through fields in cvar table, which doesn't guarantee order of keys. So sometimes key func
could go before key flags
, and because of that cvar would have flag CV_CALL
but no func set.