GM to lay off 1\,500 in Thailand following sale to Great Wall