(v9.x backport) crypto: allow passing null as IV unless required
Can't show this merge request because the source branch github/fork/tniessen/backport-18644-to-v9.x is missing from project rodrigo-test/test-group-nodejs/node. Close this merge request or update the source branch.