dnn: reading IR models from buffer