main/test: Fix compilation issue on 32-bit systems

On a 32-bit system, a type of intmax_t will result in a compilation warning
when formatted as a 'long int'. Use the format specifier of %jd (which was
what was used originally in manager.c) to format the JSON extracted integer
on both 32-/64-bit systems.


git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/12@428972 f38db490-d61c-443f-a65b-d21fe96a405b