Fixed badly written GCM update routine and fixed pbchk warnings.