Refactored converting call instruction to call new function with smart pointer arguments. Separated handling internal calls to own function. Added transformation function for handling opencl builtin calls.
Added implementation which should convert builtin calls to safe ones. Does not work yet because builtin names looks mangled and I need to resolve somehow which builtin was called.