Goalkeeper Jonas Lossl has confirmed he will leave Huddersfield Town when his contract expires this summer.