Fixed DeviceOwner logout tests.

They were failing on non-headless system user devices due to wrong
expectation on received broadcasts.

Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_LogoutUser_systemApi com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_LogoutUser # on phones and automotive

Bug: 216648012

Change-Id: I1f8f754167260a41df13dca13cb62467723c99b1
2 files changed