Gate electrodes for transistors with charge trapping gate insulator