Fix an issue that a free memory is accessed

In error state, request thread join is not executed. And,
Camera3Device's mId can be accessed from String& after being freed with
CLOGE().

This fix will address by changing reference type to normal variable.

Bug: 268437033
Change-Id: Iad3fcd0fbbaf1e18a2b95093aba08015a933374c
1 file changed