Thai legislature supports referendum on new charter