codec2 (mainline): 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: Ie79a03959c6eb1aca7e9de95e06529f3d874de1d
1 file changed