I just now went and tested, and can confirm that in the version where the button room is one tile taller (i.e. 3 tiles tall in total), you can get through the gate with 16 girth. I was able to do it somewhat jankily with 12, and then less jankily with exactly 16.