bpf: fix method of PTR_TO_PACKET reg id generation