Wlan: Incorrect pointer arithmetic comparison

typecast  to a more generic type like uintptr_t for pointer arithmetic
so  that  it works correctly on both 32 bit and 64 bit implementations

Change-Id: Ifd55a4af08e4fddbd20b60d3702385196816a41a
CRs-Fixed: 638969
diff --git a/CORE/WDI/WPAL/src/wlan_qct_pal_packet.c b/CORE/WDI/WPAL/src/wlan_qct_pal_packet.c
index 2b44c3e..8e50b47 100644
--- a/CORE/WDI/WPAL/src/wlan_qct_pal_packet.c
+++ b/CORE/WDI/WPAL/src/wlan_qct_pal_packet.c
@@ -479,7 +479,7 @@
    }
    else
    {
-     if(skb->data == skb->tail)
+     if((uintptr_t)skb->data == (uintptr_t)skb->tail)
      {
 #ifdef WLAN_BUG_ON_SKB_ERROR
        wpalDevicePanic();