Serialize staging/install to avoid races am: 5d1158fd56

Original change: https://android-review.googlesource.com/c/platform/system/apex/+/3500493

Change-Id: I258069f6006474597623da114b8f22130f3eea57
Signed-off-by: Automerger Merge Worker <[email protected]>