Internally circulating fluidized-bed gasifier