Only override Hash#assoc if native Hashes support it.
Older Rubies don't preserve Hash key order.