Change seed sanitiser function in C to match C++ for MWC.