Added one more check in ReturnExpr when void type is involved.