modffi: Support void (None) return value for Python callback functions.