Revert "fix specify_constraints's signature when exporting model (#100739)"
This reverts commit b0a372e1faef97adf46bab08510c7e0abdff2611.
Reverted https://github.com/pytorch/pytorch/pull/100739 on behalf of https://github.com/jeanschmidt due to breaking internal builds ([comment](https://github.com/pytorch/pytorch/pull/100739#issuecomment-1540920698))