NO, NO, NO ... The Midway GLEAVES class destroyers only had four 5-in mounts. The GLEAVES 1942 kit is a good start for the four DesDiv 22 units that transferred to the Pacific (DD433-436) in March 1942 with USS HORNET.
The photos you reference were taken as COMPLETED before King Board mods in mid-1941.
In mid 1941 the King Board for AA armament for the FLEET called for modifying the original BENSON-GLEAVES classes to one of two configurations; DesRon 7 ... DD421-428 and 431 ... retained five 5-in guns, ten 50-cal MGs, and one torpedo tubes mount (initially anyway). The remaining GLEAVES class units were modified with four 5-in mounts, twelve 50-cal MGs, and two torpedo tubes mounts in the same basic configuration and then were upgraded as the GLEAVES 1942 kit with six 20-mm guns by around the time of Midway; they were ... DD-429, 430, 432-444. After Midway the DesDiv 22 units were authorized to have a special configuration of nine 20-mm guns. Prior to Midway, it really depends on the specific unit and time frame ... they started out with twelve 50-cal and gradually replaced 50-cal MGs with 20-mm guns or replaced all at one time. Many units had mixed 50-cal and 20-mm batteries in March-May time period.
Photographic coverage of DesDiv 22 units in early 1942 is pretty spotty, but records show that they were "likely" upgraded with six 20-mm guns prior to Midway. However, some units could still have had a mixed 50-cal MG and 20-mm battery. I have gone through some more yard records at Pearl Harbor navy Yard recently, maybe I can narrow down the exact armament (a MAYBE) for specific unit(s) that you plan on modeling.
Here is a photo of GWIN during the Doolittle Raid before her 50-cal MGs were replaced with six 20-mm guns.

Here is a photo of an East Coast 4-Gun Original GLEAVES class unit that would be typical of the DesDiv 22 units (minus GRAYSON at MINY during the battle) during the Battle of Midway (camo may vary).

Here is a photo of GRAYSON with the post-Midway nine 20-mm battery (note censored radars)
