Revert "Add a variant of detectMultiScale with an argument 'weights'"

It was merged by mistake.

This reverts commit ab6be9b7b7691967e42297aa6d3a67fb07597fd8.