softpipe: check if so_target is NULL before accessing it