[PATCH AUTOSEL 6.1 17/22] acct: fix potential integer overflow in encode_comp_t()