PcAtChipsetPkg/HpetTimerDxe: Fix race condition in SetTimerPeriod()