[PATCH openEuler-1.0-LTS 27/31] dma-debug: fix sg checks in debug_dma_map_sg()