Gunmen attacked the headquarters of Pakistan's paramilitary force in Peshawar, killing at least three officers.