Corrugated flat band as an origin of large thermopower in hole doped PtSb2