Jose Gomes scored a hat-trick as Portugal beat Austria 5-0 in the European U17 Championship quarter-finals.