negative regulation of steroid hormone biosynthetic process