Enable WordPress PDF thumbnails for local installations

How to fix missing PDF thumbnail generation in local WordPress development by installing Ghostscript via Homebrew and configuring the PHP FPM path.