Check debug_print() format and arguments

Use GCC format (archetype, string-index, first-to-check) to check the
arguments correspond to the format string
http://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/Function-Attributes.html
Fix compiler warning

pkcs11_eventmgr.c:439:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat]
Fix compiler warning

card_eventmgr.c:77:9: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
Fix bug and compiler warning

pwent_mapper.c: In function `pwent_mapper_module_init':
pwent_mapper.c:170:3: warning: conversion lacks type at end of format [-Wformat]
pwent_mapper.c:170:3: warning: too many arguments for format [-Wformat-extra-args]
Fix bug and compiler warning

null_mapper.c: In function `null_mapper_module_init':
null_mapper.c:93:3: warning: conversion lacks type at end of format [-Wformat]
null_mapper.c:93:3: warning: too many arguments for format [-Wformat-extra-args]
Fix bug and compiler warning

openssh_mapper.c: In function `mapper_module_init':
openssh_mapper.c:384:3: warning: conversion lacks type at end of format [-Wformat]
openssh_mapper.c:384:3: warning: too many arguments for format [-Wformat-extra-args]
Fix bug and compiler warning

uid_mapper.c: In function `uid_mapper_module_init':
uid_mapper.c:134:3: warning: conversion lacks type at end of format [-Wformat]
uid_mapper.c:134:3: warning: too many arguments for format [-Wformat-extra-args]
Fix bug and compiler warning

subject_mapper.c: In function `subject_mapper_module_init':
subject_mapper.c:112:3: warning: conversion lacks type at end of format [-Wformat]
subject_mapper.c:112:3: warning: too many arguments for format [-Wformat-extra-args]
Fix compiler warnings

base64.c: In function `base64_encode':
base64.c:92:2: warning: format `%d' expects argument of type `int', but argument 5 has type `size_t' [-Wformat]
base64.c:92:2: warning: format `%d' expects argument of type `int', but argument 6 has type `size_t' [-Wformat]
base64.c:92:2: warning: format `%d' expects argument of type `int', but argument 7 has type `size_t' [-Wformat]
Fix compiler warnings

pkcs11_lib.c: In function `refresh_slots':
pkcs11_lib.c:1037:5: warning: format `%d' expects argument of type `int', but argument 5 has type `CK_ULONG' [-Wformat]
pkcs11_lib.c: In function `init_pkcs11_module':
pkcs11_lib.c:1118:3: warning: format `%d' expects argument of type `int', but argument 5 has type `CK_ULONG' [-Wformat]
pkcs11_lib.c:1141:3: warning: format `%d' expects argument of type `int', but argument 5 has type `CK_ULONG' [-Wformat]
pkcs11_lib.c: In function `get_certificate_list':
pkcs11_lib.c:1579:5: warning: format `%x' expects argument of type `unsigned int', but argument 5 has type `CK_CERTIFICATE_TYPE' [-Wformat]
pkcs11_lib.c: In function `sign_value':
pkcs11_lib.c:1725:3: warning: format `%d' expects argument of type `int', but argument 5 has type `long unsigned int' [-Wformat]
pkcs11_lib.c:1747:7: warning: format `%d' expects argument of type `int', but argument 5 has type `CK_ULONG' [-Wformat]
pkcs11_lib.c:1755:3: warning: format `%d' expects argument of type `int', but argument 5 has type `CK_ULONG' [-Wformat]