Allow unused labels in the generated ling_main.c

Please refer to commit log for details.