Fix warning for unused fileIdx parameter.
Only build vtkDICOMReferenceCount.cxx on WIN32.

The source file is empty on other operating systems and generates
a link warning.