qemu-timer: make initialization functions idempotent Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>