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 #3729 from juliantaylor/f2py-negative-refcount-1.8.x

Backport PR 3728