Former SA Liberal Leader David Speirs has announced he is quitting state parliament after police said he had been charged with drug offences.