[coreboot-gerrit] Change in coreboot[master]: arch/riscv: Update encoding.h and adjust related code