Removal of deprecated C function 'tmpname' and other compiler warning fixes

git-svn-id: https://svn.code.sf.net/p/vcftools/code@909 19d466ce-640d-45be-954f-fad4d9839663
Merge remote-tracking branch 'upstream'