core: pointer aliasing warning fixes for fix_rval_expr