nine/stateblock: allocate shader constants
nine/objects: almost everything should AddRef the device

Otherwise wine tests will crash because it Release()'es the device
before all the objects.
nine/surface: don't dump non-existent container