Fix template issue on AIX dashboard.

Adapting an earlier commit message (faab03a4):

The IBM XL compiler cannot choose between the two overloads
method template, producing errors such as:

 1540-0219 (S) The call to [template function] has no best match.

Pass an extra "1" argument to select between "int" and "long"
conversions to help the compiler select the proper overload.
It will choose the int->long conversion only if it cannot match
the pointer form of the second argument.

Change-Id: I55c868d3826d2c495c37ebf4e93f5f3d61948a85
Merge topic 'AIX-fixes' into master

a19abb8e Fix template issue on AIX dashboard.