stats: provide backend directly from cmd processing, do not try to find it using cmd->backend_id