[PATCH 5.10 494/783] acct: fix potential integer overflow in encode_comp_t()