R600: Emit error instead of unreachable on function call