Fix s57 attribute reading compiled on VS2012