pmd: fix script paths.

The script to launch pmd would look for its libexec path relative to
the binary. This works fine if running the binary from the cellar but
it won't work if running from $(brew --prefix)/bin.

Closes #27973.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>