Emit errors for unsafe builtin calls.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>