[Clang][CodeGen][RISCV] Fix hard float ABI test cases with empty struct
The code seemed not to account for the field 1 offset.
Differential Revision: https://reviews.llvm.org/D91270
(cherry picked from commit fa8f5bfa4e8cff042c9730320c74e97fab152ae1)