libtextclassifier: pin cpp_std to gnu++17

This project doesn't build with gnu++20 and prevents AOSP default to be
upgraded to a newer standard. Once the build failure is fixed here, this
change can be reverted.

Bug: 311052584
Test: m checkbuild
Change-Id: Id06ccd507e0daef529247e41e4c572fa897fd922
1 file changed