Check type before looking for qualified method
Check type before looking for qualified method

This fixes a failing test in S12-methods/qualified.t on the JVM
backend. The code in src/vm/moar/spesh-plugins.nqp does a similiar
check before calling 'find_method_qualified'.

A somewhat golfed version of the failing test would be:

  role R  { method x { 'R::x'  } }
  class C { method x { self does R; self.R::x } }
  say C.new.x;

Running this code fails with

  No concretization found for R

instead of printing 'R::x' on the JVM backend.

nbrown/rakudo,rakudo/rakudo,softmoth/rakudo,MasterDuke17/rakudo,tbrowder/rakudo,MasterDuke17/rakudo,salortiz/rakudo,MasterDuke17/rakudo,rakudo/rakudo,MasterDuke17/rakudo,labster/rakudo,tony-o/rakudo,tony-o/rakudo,nbrown/rakudo,nbrown/rakudo,softmoth/rakudo,labster/rakudo,labster/rakudo,labster/rakudo,salortiz/rakudo,tony-o/rakudo,tbrowder/rakudo,softmoth/rakudo,rakudo/rakudo,salortiz/rakudo,nbrown/rakudo,salortiz/rakudo,salortiz/rakudo,nbrown/rakudo,rakudo/rakudo,softmoth/rakudo,tony-o/rakudo,tony-o/rakudo,tbrowder/rakudo,tbrowder/rakudo,rakudo/rakudo,MasterDuke17/rakudo,salortiz/rakudo,labster/rakudo,softmoth/rakudo,tony-o/rakudo,rakudo/rakudo,tbrowder/rakudo,labster/rakudo,tbrowder/rakudo,nbrown/rakudo,MasterDuke17/rakudo