Andersen thermostats wrong in 5.0
As found by Momchil Ivanov and reported on gmx-developers, the implementations for the two flavours of Andersen thermostats were the wrong way around.
Fix Andersen thermostats
The logic for which type of Andersen thermostat has which
implementation got inverted while implementing support for Random123.