Brazil justice minister threatens to quit over police appointment, source says