d3d12: tolerate NULL-pointer inside cbuf
This seems to trigger in rare occations where we run out of memory at really inconvenient times.
I'm not sure this is really the best fix here, or we should make sure we don't try to bind such a cbuf in the first place...
But, it fixes a crash, so...