SI-8498 @compileTimeOnly should be aware of bridge methods.

Values classes, for example, will create bridges to a `@compileTimeOnly`
method (the bridge is also marked `@compileTimeOnly`), which should not
throw an error. Calling the bridge or the method will anyway.
Are both branches of the `||` exercised by the test case? Bridge methods are created after the refchecks phase (in erasure), so I don't see how `x.hasBridgeAnnotation` could be true here.