Move int/long compare tweak to LowerCompare
Normally we should not get int/long compares but the JIT accidentally produces such compares sometimes.
Doing this in lowering requires to add a cast node but since this rarely happens the cost of adding a new node is not a concern.
FX diff shows a 151 bytes improvement without any regressions. All differences are due to narrowing int/long compares to int/int when the long operand is a constant.
Such narrowing usually avoids the need for a REX prefix and in some rare cases also allows a memory operand to be contained.
Commit migrated from https://github.com/dotnet/coreclr/commit/
b10faae7579c2f22c34ee1fe7c1995ec674828ed