compiler/libec: (#205) Fixed integer promotions to follow the C standard (6.3.1.1)