[cvs-nhc98] Add an FFI version of compare on PackedString. (for traci