strtosz() use qemu_toupper() to simplify switch statement