Gate electrodes for thyristors