Remove win-styled 'safe functions'

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Merge branch 'master' of github.com:nanomsg/nanomsg

Conflicts:
	src/core/global.c