Fixes Issue 10415 - Bad diagnostic on writing to an r-value property return.