cluster: STABLE32 - rgmanager: Clean up lock handling in groups.c