Address a warning about types not matching when NULL is cast as a
function pointer in a conditional assignment.

I'm not convinced this warning is correct as it is inconsistent with
other uses of NULL as a function pointer.
Build with the sandbox ABI.