Arens-regularity of Banach algebras and the geometry of Banach spaces