Bugfix - fix issue with max stat calculation (found and fixed by "kaypy").

Signed-off-by: nppangband <nppangbanddev@verizon.net>