sync: Add backwards compat with SYNC_{UMASK,USER} variables

Support SYNC_UMASK and SYNC_USER variables that were used in Funtoo
Portage, as fallbacks to sync-umask and sync-user repo keys.