[PATCH 4.4 160/193] genksyms: Fix segfault with invalid declarations