[cts] dismiss system dialogs before CtsContentProviderTestsWithVisibility

Sometimes previous tests leave system dialogs on screen, which prevent the package installer error dialog from showing in the test.

Change-Id: I034d181e08dbc1cab47d88bcc7b49a026d2fed0d
BUG: 276292540
Test: builds
2 files changed