[OpenVINO] Support dynamic shapes in diag and diagonal (#23349)