Huddersfield have announced goalkeeper Alex Smithies has signed a new two-year contract extension with the club.