crypto: fix constructor call in crypto streams

When using some stream method on a lazy crypto stream, the transform constructor
wasn't called. This caused the internal state object to be undefined.