Fix conflict between beee052f58e69d1b5e1a14a3710315339478b2e5 and abb947a78fea22235295d49ad8bea3f6d4d8a905.

cuda_common_cuda.cu needs to access energy indirectly because energy.hpp depends on mpi.h, but .cu files must not include mpi.h