Planck-scale–induced speed of sound in a trapped Bose-Einstein condensate