Test of general relativity during the BepiColombo interplanetary cruise to Mercury