BUG: Fix conversion compilation error

Remove extraneous reinterpret_cast to void *.

Use explicit assignment of function pointer instead of
reinterpret_cast.

Change-Id: Idda98f381afd6c719d5c921e8a260698a2bf4a80
Merge topic 'FixTestTransformGetInverseConversion'

7b2ab1a7 BUG: Fix conversion compilation error