[MediaStream] Calculate width or height when constraints contain only the other