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.