- fixed 'cast_trunc', 'cast_zext' and 'cast_sext' implementations (the previous was faulty)
- added '__select (i8/16)', '__equal_i8/16_and_mask', '__not_equal_i8/16_and_mask' functions