d3d11: Fix bug creating static vertex buffers

The vertex data wasn't getting properly freed, it was actually setting
the parameter itself to null for some reason.