Move die() function definition out of library code

Make sure that die() cannot be called from library code.

Signed-off-by: Pekka Enberg <penberg@kernel.org>