Use uint64_t to avoid integer overflow

Fixes the overflow of unsigned int in *state * 1103515245.

Change-Id: Id35b8baa205f1ef8829ae4c8708f0c65edb01ada
diff --git a/av1/encoder/palette.c b/av1/encoder/palette.c
index bba7021..c8d8965 100644
--- a/av1/encoder/palette.c
+++ b/av1/encoder/palette.c
@@ -42,7 +42,7 @@
 
 // Generate a random number in the range [0, 32768).
 static unsigned int lcg_rand16(unsigned int *state) {
-  *state = *state * 1103515245 + 12345;
+  *state = (unsigned int)(*state * 1103515245ULL + 12345);
   return *state / 65536 % 32768;
 }