sk_***_new_null() seems to be there to avoid exactly this sort of thing which is a cast between NULL and a function pointer.