Adds type cast support for int4range
Adds type cast support for int8range