bison: fix glr parser on 32-bit builds.

Bison has switched 'yyk' variables to be ptrdiff_t instead of size_t and
is printing them with %ld. We could switch this to %td, but in order to
be consistent with the rest of this template, adding a cast.

Bug: 31194194
Test: builds

Change-Id: Ia328093604d590b557b27e648967b563b059183e
diff --git a/data/skeletons/glr.c b/data/skeletons/glr.c
index 467f7db..945ff0a 100644
--- a/data/skeletons/glr.c
+++ b/data/skeletons/glr.c
@@ -1985,7 +1985,7 @@
   while (yystackp->yytops.yystates[yyk] != YY_NULLPTR)
     {
       yyStateNum yystate = yystackp->yytops.yystates[yyk]->yylrState;
-      YY_DPRINTF ((stderr, "Stack %ld Entering state %d\n", yyk, yystate));
+      YY_DPRINTF ((stderr, "Stack %ld Entering state %d\n", YY_CAST (long, yyk), yystate));
 
       YY_ASSERT (yystate != YYFINAL);