Cryptanalysis of secret sharing with a single d-level quantum system