[PATCH V3 2/5] riscv: spinwait: Fix hartid variable type