Role of acoustic phonons in frequency dependent thermal conductivity of graphene