register_printf_modifier is causing build warnings complaining that it is deprecated. This patch adds support for register_printf_specifier and uses it if it's present. Otherwise, it will fall back to register_printf_modifier. Signed-off-by: Jeff Mahoney <jeffm@suse.com>