Huddersfield midfielder Jordan Sinnott has signed a contract extension to stay at the West Yorkshire club.