Use the actual parameter types in PSearchMethodFunc instead of void pointers

Approved at https://rbcommons.com/s/OpenH264/r/407/.