Turkey has shut its side of the last border crossing with Syria still controlled by President Bashar Assad's government.