assumeLocal: convert shared lvalue to a non-shared one