[JIT] parse prim::Constant[value=annotate()] and prim::Constant[value={0}]
irparser previously didn't support these, which would cause failures in
log_extract.py
Pull Request resolved: https://github.com/pytorch/pytorch/pull/76875
Approved by: https://github.com/eellison, https://github.com/tugsbayasgalan