Disable -Wcast-function-type-mismatch

Code owners should fix this.
```
FAILED: out/soong/.intermediates/frameworks/wilhelm/src/libwilhelm/android_x86_64_shared/obj/frameworks/wilhelm/src/ThreadPool.o
.../frameworks/wilhelm/src/ThreadPool.o.d -o out/soong/.intermediates/frameworks/wilhelm/src/libwilhelm/android_x86_64_shared/obj/frameworks/wilhelm/src/ThreadPool.o frameworks/wilhelm/src/ThreadPool.cpp
...generic' (aka 'void (*)(void *, void *, void *, int, int)') to 'ClosureHandler_ppi' (aka 'void (*)(void *, void *, int)') converts to incompatible function type [-Werror,-Wcast-function-type-mismatch]
  262 |         closure->mHandler.mHandler_ppi = (ClosureHandler_ppi)handler;
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
...c' (aka 'void (*)(void *, void *, void *, int, int)') to 'ClosureHandler_ppii' (aka 'void (*)(void *, void *, int, int)') converts to incompatible function type [-Werror,-Wcast-function-type-mismatch]
  265 |         closure->mHandler.mHandler_ppii = (ClosureHandler_ppii)handler;
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
...void (*)(void *, void *, void *, int, int)') to 'ClosureHandler_piipp' (aka 'void (*)(void *, int, int, void *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-mismatch]
  268 |         closure->mHandler.mHandler_piipp = (ClosureHandler_piipp)handler;
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...ppi' (aka 'void (*)(void *, void *, int)') to 'ClosureHandler_generic' (aka 'void (*)(void *, void *, void *, int, int)') converts to incompatible function type [-Werror,-Wcast-function-type-mismatch]
  375 |     return ThreadPool_add(tp, CLOSURE_KIND_PPI, (ClosureHandler_generic) handler,
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...(aka 'void (*)(void *, void *, int, int)') to 'ClosureHandler_generic' (aka 'void (*)(void *, void *, void *, int, int)') converts to incompatible function type [-Werror,-Wcast-function-type-mismatch]
  383 |     return ThreadPool_add(tp, CLOSURE_KIND_PPII, (ClosureHandler_generic) handler,
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...id (*)(void *, int, int, void *, void *)') to 'ClosureHandler_generic' (aka 'void (*)(void *, void *, void *, int, int)') converts to incompatible function type [-Werror,-Wcast-function-type-mismatch]
  391 |     return ThreadPool_add(tp, CLOSURE_KIND_PIIPP, (ClosureHandler_generic) handler,
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

Bug: b/353528991
Test: m checkbuild
Change-Id: Ic8d8ad56292ec4df58a08b55d17e6957203d896a
1 file changed
tree: 74d313343a06b12d1217e4ec31269e236bc690a4
  1. doc/
  2. include/
  3. src/
  4. tests/
  5. tools/
  6. Android.bp
  7. OWNERS
  8. TEST_MAPPING