Refactor: controller: Static-ize controld_join_dc.c:max_generation_*
Free in crmd_exit() via a wrapper function. controld_fsa.h seems like
the most relevant header.
Also remove an unused variable, max_epoch.
Ref T239
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>