[PATCH 4.14 221/338] acct: fix potential integer overflow in encode_comp_t()