Skip marshalling NULL output arguments in Python closures

Skip marshalling optional output arguments which are passed NULL
as the memory location. This fixes fallout from bug 727004.

https://bugzilla.gnome.org/show_bug.cgi?id=735090