This patch hides the logic for setting the location kind of an entry value inside the begin/finalize/cancel functions. This way we get rid the strange workaround that is currently in setLocation().
In the future, this will allow us to set the location kind of the entry value independently from the location kind of the main expression.
No need to set IsEmittingEntryValue here?