BUG: f2py, fix decref on wrong object

missing brackets causes decref on an wrong object.
shows itself as abort with negative refcount in test_callback using
python-dbg.
Merge pull request #3731 from juliantaylor/f2py-negative-refcount-1.7.x

Backport PR 3728