Issue #3067206 by voleger: Properly deprecate drupalGetHeaders() method of Drupal\Tests\BrowserTestBase