POINTER_TYPE_P rather than checking the type against POINTER_TYPE (to include references). From-SVN: r8458