slub: fix possible NULL pointer dereference