bridge: Fix use of 0 instead of NULL

Although correct, this is confusing when reading code.

Closes #1422