Coherent electronic-vibrational dynamics in deuterium bromide probed via attosecond transient-absorption spectroscopy