Check for duplicates in the source files list.

Duplicates in the source files list can cause problems for
ms_add_gtests.