Fix test_bom Python 3.3 test failure

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

Change-Id: Ia4d5949363ca4cea603c2a0847742a1df8f68709