[PATCH 4.19 316/521] acct: fix potential integer overflow in encode_comp_t()