[PATCH 5.18 0897/1095] riscv: spinwait: Fix hartid variable type