Use const ref for mtop and inputrec in EnergyOutput initialization