Fix int <--> pointer casting by adding intermediate cast through (intptr_t)

Reviewed by Dave Goodell

cmr=v1.7.4:reviewer=ompi-rm1.7:subject=Add intptr_t casting in usnic btl