Mark operator c2_cntr64_t as constexpr

Upcoming compiler update emits warning:
hardware/google/av/codec2/tests/C2_test.cpp:142:19: error: static_assert expression is not an integral constant expression
    static_assert(c2_cntr32_t(1) == c2_cntr32_t(c2_cntr64_t(0x100000001ul)), "1 == 1");
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/google/av/codec2/tests/C2_test.cpp:142:49: note: non-constexpr function 'operator c2_cntr_t<unsigned int, void>' cannot be used in a constant expression
    static_assert(c2_cntr32_t(1) == c2_cntr32_t(c2_cntr64_t(0x100000001ul)), "1 == 1");
                                                ^
hardware/google/av/codec2/include/C2.h:292:12: note: declared here
    inline operator c2_cntr_t<U>() {
           ^

Mark the method constexpr to fix the error.

Test: m checkbuild
Bug: 126457671
Change-Id: I97d1e420f818f8ad928d25ec242cf71ce2c33054
1 file changed
tree: 91c687d1da34c716ff12de2d8781fcea7d9a8256
  1. codec2/
  2. hooks/
  3. media/
  4. Android.bp
  5. OWNERS