If you put the pattern for making golems on the ground, all golems and the wither work except for the iron one.
Attachments
Comments 2
In your screenshot I can see that has a tallgrass between the iron blocks and according to MCPE-17127 may have no block there, just air. So I think this works as intended.
you must put the pumpkin last or it will not summon it.