Remove error code of INVALID_STREAM

It is no longer used after d5a8faeaa605bdff7b96287d72913b4b742104cf