crypto: improve gcc optimization flags for serpent and wp512