swr/rast: Change DS memory allocation