Added a synchronize block that wraps the deriveKey method.

This makes all deriveKey methods of this HKDF implementation thread safe.