Processing pharmaceuticals with supercritical fluids