Fixing casting from pointer to int

src/psitrayicon.cpp converted icon_ (a pointer) to int, which caused
error when compiled for 64 bit. Therefor the casting was changed to
intptr_t inorder to solve the compilation error.