Avoid converting void * to a function pointer when NULL is defined as