core.c: Avoid dereferencing null variable when calloc num_svcs fails

in core_extract_handler

"fds" might be null when execution jumps to "out" label.

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>