info: fix typecast error for gst_debug_add/remove_log_function
Using GCC 7 or later with pedantic flag will cause warnings about comparisons between "void *" and a function pointer.
We should change this to force type safety anyway.
Signed-off-by: Eric Nelson eric@nelint.com