Until now, the -fdeclare-opencl-builtins option behaved differently
compared to inclusion of opencl-c.h: builtins that are part of an
extension were only available if the extension was enabled using the
corresponding pragma.
Builtins that belong to an extension are guarded using a preprocessor
macro (that is named after the extension) in opencl-c.h. Align the
behaviour of -fdeclare-opencl-builtins with this.
This is inspired on the draft of https://reviews.llvm.org/D91538