src: fix type mismatch warnings from missing priv
Registration initialization functions are expected to have a 4th argument, a void*, so add them where necessary to fix the warnings.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines