devel/libgpkg: fix build
The segfault that happens with base GCC doesn't happen with GCC8.
Approved by: mentors (implicite approval)