Add quant8 support to TANH

This is the first time we are extending an existing operation to support
more input types.

This change adds a test to verify that some 1.2 graphs using TANH are
not compliant with lower HAL versions.

Fix: 115701354
Test: NeuralNetworksTest_static
Change-Id: I23256fa36996dda46320ef3a45e30704ea73ffa9
Merged-In: I23256fa36996dda46320ef3a45e30704ea73ffa9
(cherry picked from commit 4c5dd00e7c105121cab34287303475fbe294ae49)
14 files changed