vm: Simplify strerror code.