Turkish president due in Hungary on Thursday