Arens regularity of semigroup algebras with certain locally convex topologies