ARROW-14090: [C++][Parquet] rows_written_ should be int64_t instead of int
ARROW-14090: [C++][Parquet] rows_written_ should be int64_t instead of int

when we have a parquet file with only one row_group.
And the row number is exceding 2^31, the num_rows_ became negative.
Because the unexpected int type

Closes #11217 from czxrrr/ARROW-14090

Lead-authored-by: czxrrr <8a25ed1e1134b66cede053334e5e667c6f80782f@gmail.com>
Co-authored-by: Zherui <8a25ed1e1134b66cede053334e5e667c6f80782f@gmail.com>
Signed-off-by: Yibo Cai <e732a3f0de35687e82bda0008a72e443d2f69704@arm.com>

laurentgo/arrow,wesm/arrow,laurentgo/arrow,icexelloss/arrow,laurentgo/arrow,wesm/arrow,wesm/arrow,icexelloss/arrow,laurentgo/arrow,icexelloss/arrow,kou/arrow,apache/arrow,apache/arrow,kou/arrow,laurentgo/arrow,laurentgo/arrow,laurentgo/arrow,kou/arrow,kou/arrow,icexelloss/arrow,laurentgo/arrow,wesm/arrow,wesm/arrow,kou/arrow,laurentgo/arrow,laurentgo/arrow,apache/arrow,laurentgo/arrow,laurentgo/arrow,apache/arrow,icexelloss/arrow,wesm/arrow,apache/arrow,wesm/arrow,kou/arrow,laurentgo/arrow,wesm/arrow,kou/arrow,kou/arrow,wesm/arrow,apache/arrow,kou/arrow,wesm/arrow,icexelloss/arrow,apache/arrow,wesm/arrow,apache/arrow,kou/arrow,icexelloss/arrow,apache/arrow,wesm/arrow,apache/arrow,laurentgo/arrow,wesm/arrow,icexelloss/arrow,apache/arrow,apache/arrow,kou/arrow,apache/arrow,icexelloss/arrow,icexelloss/arrow,icexelloss/arrow,icexelloss/arrow,kou/arrow,icexelloss/arrow,apache/arrow,laurentgo/arrow,wesm/arrow,icexelloss/arrow,kou/arrow,kou/arrow