[configure] Add a --enable-keep-symbols configure flag.