[MRG+1] FIX call srand whenever random_seed >= 0 in libsvm

This bug was discovered by #3691 (failing test under windows).