Fixed PHP-479: Compiler errors

node->cursor_id is int64_t (long long)
timeout.tv_usec is int