Fixed PHP-475: Compiler errors

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