bcrypt: Only reset init vector if the new vector is non-NULL.