Don't crash in StatsWindow for invalid faction rank values

PcRaiseRank: don't allow to raise rank beyond max rank