A Companion of Ostrowski’s Inequality for Functions of Bounded Variation and Applications