player: restore ab-loop settings with playback resume

Fixes #1324.
w32_common: fix GUID linking in Cygwin