[PATCH 7/7] riscv: Remove common.h usage