A mounted machine gun covering open ground is a positioning problem, not a shooting problem. You cannot out-trade it, so do not try.
Smoke is the most reliable tool. Pop it to screen your movement, then move between cover rather than in a straight line. The gunner can only fire where he can see, so a well-placed screen converts a death trap into a corridor.
If you have a radio operator, calling in air support or artillery solves the problem outright. This is usually faster and cheaper than doing it yourself, so use it when it is available.
Mounted guns overheat and crews have to reload. Both create a window, and the correct response is to move cover to cover during it rather than sprint the whole distance.
Patience beats bravery here almost every time.