nbd: fix null-ptr-dereference while accessing 'nbd->config'