Thailand aims to legalize casinos next year in win for global players