fix Issue 2486 - taking address of slice rvalue is valid