Remove unused hasOperatorList code

Originated from https://github.com/mozilla/pdf.js/commit/f8f4b3f45dc6ff5f5b2572b5387389db33616be3#diff-c18ac71361bc452920c40076a5937b3dR485 but has been unused since then.