Allow casting NULL to an integer

2 jobs for ci/better_int_to_ptr_cast in 17 minutes and 54 seconds (queued for 2 seconds)