Use array for term and foreign_term in gmx_enerdata_t