gpo: Move implementation from samba_gpoupdate