[PATCH v2 4/7] risc-v: add support for QEMU firmware tables