HST observations of the core of the globular cluster NGC 6624