Fix test_bom Python 3.3 test failure

Fixes lp:1251962

Adapt test_compat.TestDetectEncoding.test_bom to skip compile
step on corner case that is no longer valid on Python 3.3
and later.