Use nqp::istype rather than ACCEPTS

As suggested by jnthn++