Irreversibility line of an Ag-doped Hg-based superconductor