javac in JDK 8 doesn't play well with the new int and long primitive met...

...hods in jboss-logging. When an Integer or Long is used as the first parameter, casting the second primitive parameter to Object uses the correct logging method and doesn't confuse javac.