interp: Simplify value conversion

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