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

Calling a @compileTimeOnly method from another @compileTimeOnly
method happens when the former gets a bridge method. It should not
throw an error. Calling the bridge or the method will anyway.
Merge pull request #3932 from gourlaysama/wip/t8498

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