libhwy: fix tests when cross-compiling
It seems to need some help to find gtest when cross compiling.
(Only applies when cross-compiling to compatible architectures where
the tests are enabled, like pkgsStatic.)
Co-authored-by: Daniel Olsen <daniel.olsen99@gmail.com>