External intrinsics as byref

Make external intrinsic interfaces byref so that passing an intrinsic
as a parameter now works.