core.c: In core_process_[ssa sa]_mad, add logging to some error cases

for better debug/analysis of what occurred

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