Hubble Space Telescope imaging of the globular cluster system around NGC 5846