Fix bug with pre-setting discovery filter
When calling AddDiscoverySession, discovery_filter argument was used twice in two arguments.
Argument evaluation order is not guaranteed. I.e. it's different between tests and running on link or samus platform.
This caused error that was not detected by tests, when pre setting filter.
This patch fixes that, by moving evaluation of one of arguments before actual call.
BUG=407773
R=armansito@chromium.org
Review URL: https://codereview.chromium.org/
1102813002
Cr-Commit-Position: refs/heads/master@{#326659}