test: test_tables - fix missing symbols when --gc-sections are not available