record.c replace mktemp() with mkstemp() when available
record.c replace mktemp() with mkstemp() when available

Removes a compilation warning in the build, and use of mktemp() that
has been removed elsewhere in pcp.

ryandoyle/pcp_original,aeg-aeg/pcpfans,prasincs/pcp,andyvand/cygpcpfans,edwardt/pcp,ryandoyle/pcp_original,prasincs/pcp,aeg-aeg/pcpfans,andyvand/cygpcpfans,edwardt/pcp,wuliming/pcp,tjanez/pcp,edwardt/pcp,tjanez/pcp,wuliming/pcp,wuliming/pcp,mbaldessari/pcp,edwardt/pcp,wuliming/pcp,ryandoyle/pcp_original,adfernandes/pcp,tjanez/pcp,adfernandes/pcp,edwardt/pcp,adfernandes/pcp,andyvand/cygpcpfans,prasincs/pcp,prasincs/pcp,mbaldessari/pcp,edwardt/pcp,wuliming/pcp,mbaldessari/pcp,adfernandes/pcp,andyvand/cygpcpfans,ryandoyle/pcp_original,tjanez/pcp,tjanez/pcp,adfernandes/pcp,wuliming/pcp,prasincs/pcp,aeg-aeg/pcpfans,adfernandes/pcp,andyvand/cygpcpfans,aeg-aeg/pcpfans,prasincs/pcp,wuliming/pcp,aeg-aeg/pcpfans,mbaldessari/pcp,tjanez/pcp,tjanez/pcp,andyvand/cygpcpfans,mbaldessari/pcp,adfernandes/pcp,ryandoyle/pcp_original,aeg-aeg/pcpfans,andyvand/cygpcpfans,tjanez/pcp,prasincs/pcp,edwardt/pcp,aeg-aeg/pcpfans,mbaldessari/pcp,ryandoyle/pcp_original,adfernandes/pcp,ryandoyle/pcp_original,prasincs/pcp,andyvand/cygpcpfans,aeg-aeg/pcpfans,ryandoyle/pcp_original,edwardt/pcp,wuliming/pcp