Make sure intrinsics that are lowered to functions make the function weak