Adam Peaty says his defeat in the 100m breaststroke final gave him extra motivation to win the 50m event at the Commonwealth Games.