util/hash_table: Use fast modulo computation

While we're here, copy the size table from set.c to get rid of hard tabs
in the hash_table.c version.

Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
10 jobs for !919 with review/nir-cse-opt in 12 minutes and 56 seconds (queued for 6 minutes and 4 seconds)
latest detached
Status Name Job ID Coverage
  Containers Build
passed debian #329915

00:00:20

 
  Build+Test
passed meson-clang #329917

00:04:41

passed meson-clover #329921

00:08:44

passed meson-main #329920

00:02:03

passed meson-swr-glvnd #329916

00:06:33

passed meson-vulkan #329922

00:02:33

passed scons-llvm #329924

00:03:31

passed scons-nollvm #329923

00:03:53

passed scons-swr #329918

00:06:07

passed scons-win64 #329919

00:05:47