v5: replace imm with signed_imm for correct counter access

This commit updates the counter offset calculation to use a signed
immediate value (signed_imm) instead of an unsigned immediate value
(imm). This change ensures correct memory access behavior for the
counter.

Test: TH
Change-Id: If68c097f2e3e3a8a44e891922bfcb2ec00f2fbe1
2 files changed