Fix syntax errors in repmgr.c