Use the known min/max if a global min/max is unavailable

The global minimum and maximum values are only available if every plane
in the series has been read.  In some cases (e.g. if "Specify range..."
was specified), we need autoscaled images but have not read all of the
planes.

Fixes #10088.