[PATCH 4.9 185/251] acct: fix potential integer overflow in encode_comp_t()