The first P-38 to be shipped from the factory with dive flaps installed was the P-38J-25-Lo (the P-38J in AHII is probably a P-38J-10-Lo, and does not have them).
They WERE dive flaps, what they were not is dive brakes, as you see on dive bombers.
The dive flaps on a P-38 did not need to slow the plane down. The drag violently increased when the shock wave formed around the center wing at Mach .65.
The dive flaps were SUPPOSED to be deployed BEFORE you entered a dive, but they were often deployed AFTER the dive was started.
The first improvement for the P-38 to solve the dive problems was actually the fillet radius change where the center wing joins the center nacelle.
Something else that had a great effect was the fit around the windows. That area has to be properly fitted and adjusted, or the gaps and distortion will cause severe airflow disruption. That is the reason for the red "No Step" sign under the windows. As little as a 1/16" gap could cause severe problems.
According to several pilots, you could use the dive flaps (they called them "speed boards") in combat to get a momentary "pitch up" of as much as 15 degrees, which you could use to get a quick shot off at times.
The external counterbalance weights on the elevator did absolutely nothing for compressibility. The elevator already had the weight built into it from the beginning, it had a thicker sking and more bracing.
The NACA airfoil profile of the P-38 wing was the cause of the compressibility problems. It accelerated the air faster and earlier than other profiles. It was a tradeoff. That profile allowed a great deal of fuel to be stored in the wing. It also had a very high aspect ratio, which is what makes the P-38 climb and turn well. It helps make up for the relatively high wingload of the P-38.