Protect accesses to members of childSession (5/n)

Add a method to ensure access to mCommitted and mDestroyed are
properly protected.

Bug: 159663586
Test: atest StagedInstallTest AtomicInstallTest
Change-Id: I704d972f7ec68eaa310da0a80f6f8acd4e1cc928
1 file changed