codegen: Drop unnecessary comma expressions in silent casts