Repair backend unit tests on macOS.
Repair backend unit tests on macOS.

This fixes "illegal hardware instruction" seen on my MacBook, which
is the same as #1839, but triggered only in a test environment where
the main thread is the same as the driver thread, and filament is built
with HAS_THREADING enabled.

google/filament,google/filament,google/filament,google/filament,google/filament,google/filament,google/filament,google/filament,google/filament,google/filament,google/filament,google/filament