InputDispatcher: use LOG_IF for checking logging tags

This makes things a bit more compact and gives us branch prediction
hints for those conditionals.

Bug: 311625331
Test: $ m checkinput
Test: $ atest --host inputflinger_tests
Flag: EXEMPT refactor
Change-Id: If2606dcbf4d660aee3f4274d5589381143adaddf
1 file changed