[DROOLS-291] fix constraint jitting when an interface is used for implementation and traiting
(cherry picked from commit 8f0948c7ae6a3df92db43ea181caf06dac918991)