uml: dump registers on ptrace or wait failure