Make host_callback_test.py safe to run in environments with > 2 devices.
Make host_callback_test.py safe to run in environments with > 2 devices.

For example, Cloud TPU VMs expose 8 local devices.

google/jax,google/jax,google/jax,google/jax