Update alchemical-gromacs.py

An update from Pavel.