x86_64: Implement VarHandle.set() for static and instance fields.

Benchmarks improvements (using benchmarks provided by
https://android-review.googlesource.com/1420959):

  benchmark                    before  after
  --------------------------------------------
  SetStaticFieldInt            2.421   0.00176
  SetStaticFieldString         2.628   0.00230
  SetFieldInt                  2.665   0.00175
  SetFieldString               2.914   0.00225

Bug: 65872996

Test: lunch aosp_cf_x86_64_phone-userdebug \
  && art/test.py --host -r -t 712-varhandle-invocations --64
Test: Repeat with ART_USE_READ_BARRIER=false.
Test: Repeat with ART_HEAP_POISONING=true.
Change-Id: I13acda88ab881c1274fcd8e154de61150409d974
3 files changed