x86_64: Refactor assembler code for arithmetic ops.
Define `EmitVecArithAndLogicalOperation()` signature based
on the CL
https://android-review.googlesource.com/2873415
by Vinay Kompella but do only refactoring of existing code
without any additional changes from that CL.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Change-Id: I990ae75f699f03db8a6b2acc0e0fb8aa5675d97c