Added is_signed argument to SigSpec.as_int() and Const.as_int()
Added some additional log messages to opt_const
Optimize shift ops with constant rhs in opt_const