Justin Thomas questioned the decision for his group to be warned over their pace of play during a challenging second round at the PGA Championship.