Based on my interpretation of the diagram it would be easier to just buy a three prong dryer cord, cut the 4 prong plug off of the in-line GFCI cord, and splice the neutral and ground on that cord to the neutral from the 3 prong cord.
I would of course do this in a junction box, not just wire...