Refactor: controller: snprintf() -> GString
And replace g_string_.*printf() with pcmk__g_strcat().
Note: g_string_append() appears to be more efficient than
crm_strdup_printf() if we don't need to keep a char *.
Ref T152
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>