Fixed PHP-479: Compiler errors

node->cursor_id is int64_t (long long)
timeout.tv_usec is int
Another attempt at fixing this for both of us.