riscv64: Add named constants and other codegen cleanup. Test: m test-art-host-gtest Bug: 283082089 Change-Id: I31b4c1ffa52c6bed217590c51ea6827cccee74ad