cppcheck: Fix unreachableCode in test-menu-parser
This warning appeared when running cppcheck with --inconclusive:
tests/test-menu-parser.c:313:15: style: inconclusive: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode]