Upstream: fixed $upstream_response_length without buffering.

Reported by Piotr Sikora.