NeuralNetworks: 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: Ief00a52c59aba17da6f9930c000bdd1d58d4b588
2 files changed