[PATCH 6.10 107/149] gtp: fix a potential NULL pointer dereference