Fix typo under `cpp` directory **Reporter**: [Kazuaki Ishizaki](https://issues.apache.org/jira/browse/ARROW-10384) / @kiszk **Assignee**: [Kazuaki Ishizaki](https://issues.apache.org/jira/browse/ARROW-10384) / @kiszk #### PRs and other links: - [GitHub Pull Request #8520](https://github.com/apache/arrow/pull/8520) <sub>**Note**: *This issue was originally created as [ARROW-10384](https://issues.apache.org/jira/browse/ARROW-10384). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*</sub>