Fix static_assert failure when compiling with gcc
Hi @elfringham Can you please resolve conflicts? Thank you! Issue was resolved by https://github.com/tensorflow/tensorflow/commit/5a39244519e46bfba66e377e5ee533bc2ab3969b
Compiling with gcc compiler results in a build failure due the use of 'false' in the static_assert. Instead replace this with the condition that needs to be satisified.

Fixes: https://github.com/tensorflow/tensorflow/issues/62125