[gcc-warning-fix][int-to-pointer-cast]

Please check if the includes for intptr_t are correct; I stole them from
AdvApp2Var_SysBase.hxx.
[clang-warning-fix][local-type-template-args]

Local struct types were being used with Standard::Free() causing
warnings (-Wlocal-type-template-args). I reported this to OCCT and
they've chosen to delete the file altogether. See
http://tracker.dev.opencascade.org/view.php?id=24912