The purpose of the Dowel Pins are to line up the head gasket and head when mating with the block so they are in the correct position. The pin should fit easily into the head, but tight into the block.
I have made similar ones from bolts or a steel bar ground down and then cut to length. Hardware stores usually carry metal dowel pins, but probably not the right diameter and a short pin is hard to grind down to a smaller diameter. You can hold onto a steel bar while grinding it down.
A machine shop can turn one out pretty quick.