[gn] Make sync script handle removing singular sources
Without this, syncing the unittests/Passes change in a25e3674ae65
didn't work right: it'd add the new file, but not remove the old one,
because it wasn't followed by a `,` due to being a one-element list.