How is the gap in your split windshield? That is, how is the clearance when closing the walk through windshield?
I have a 2000 H240, which is a generation older than yours because as an early 2000, it is of the 1996-1999 style. While my bow tub feels solid, I know it is slightly down from the original position because when I close the windshield, I have to push apart on the two sides of the windshield (or hull) to get the windshield to close all the way.
When I investigated mine, I looked up at the top of the ski locker and see healthy plywood top. There is one spot with a round hole cut in the plywood, and through that hole I can see carpet (under the bow tub). Looking sideways from the bow seat storage areas, I see the same thing... That the carpet goes under the bow tub. So in the case of my year, FW used carpet as a separator material between the plywood structure and the bow tub. Good for sound deadening, but a terrible idea because it would hold water. In my case, I think the carpet is crushed to the point that the bow tub is slightly lower, and the sides (head and helm) have come together about 1/8". I have thought about shimming under the bow tub to fix this, but have not done anything yet.
I know that does not answer your (OP) question, but I am trying to contribute more information to the thread.
To try to answer, I think you are on the right track by shimming under the bow tub. In my opinion, using plywood would work well and be inexpensive. Starboard would be better, but costs a lot. Structural foam would be great if it can handle the pressure, but I'm not sure how strong it is. Is the structural foam strong enough to walk on repeatedly?
Ray
_________________

"Knot Easy" 2000 Horizon 240 Volvo 5.7GS /SX
tow: 2017 Honda PILOT EXL-AWD
prev. boats:
'87 Chaparral 198CXL 4.3 OMC Cobra
'69 Jetstar 16ft Ski Boat, 115hp Yamaha
'68 Aluminum Jon Boat, 3hp Sears
'64 Water Wings