add VS version of swap32()

http://msdn.microsoft.com/library/a3140177.aspx