[DROOLS-509] fix method resolution during constraints jitting
(cherry picked from commit aad2dab7c88877d11ec700a371906f8dc1282169)