api: fix segfault in timeout handling

A botched update of reactor timeouts in the API handle implementation
for czmq-v2 caused a segfault when a reactor timer expired.
Merge pull request #82 from garlick/api-timeout-segfault

api: fix segfault in timeout handling