[PATCH 6.1 51/71] gtp: fix a potential NULL pointer dereference