Effect of the Casimir-Polder force on the collective oscillations of a trapped Bose-Einstein condensate