Returns the device associated to the stream, cannot be called on null streams.
References SYTEN_ASSERT_MSG.