Update set_mapgen_params and set_gen_notify Lua API to use new flag format