Fix performance-unnecessary-value-param warning

The upcoming compiler emits new warning:
  system/apex/apexd/apexd_session.cpp:146:38: warning: the parameter 's' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param]
    [&](ApexSession s) { return s.GetState() != state; }),

Change to use const reference for performance.

Test: m checkbuild
Change-Id: I87dcd1cd194d07bad614551d73e119f7126340ac
1 file changed
tree: 2702c3e940c030529b22d8951964bb92699efcf6
  1. apexd/
  2. apexer/
  3. proto/
  4. tests/
  5. OWNERS
  6. PREUPLOAD.cfg
  7. TEST_MAPPING