readpal.m: fix failing opening file, don't read shade table if nargout < 2.
readpal.m: fix checking 2nd arg of fread().

That is, assume we're running Octave where bug
https://savannah.gnu.org/bugs/index.php?41091
is fixed.