softpipe: dynamically allocate space for immediate constants