Fix TASKPTR's definition to match actual function signatures.

TASKPTR is currently defined as returning void. However the only 2
functions that are ever cast to this type return uint32_t, so this is
technically incorrect. This CL changes TASKPTR to match.

For P, we plan to enable control-flow integrity (CFI) across multiple
platform components, including NFC. This mismatch will break CFI and
cause runtime errors when enabled - so this is also a preemptive
measure to get NFC compatible in preparation.

Bug: 30227045
Test: Builds and runs without CFI errors when enabled.
Change-Id: I3111b5810937c923fdf8cbbd802520fad9baf272
1 file changed