Low: various: clean up library memory at child exit
We don't want to call crm_exit() in a forked child because exit() can
have undesired effects on the parent, but we still need to clean up
library memory (if only to make valgrind output easier to read).