Remove custom pkg.m4 script.

As per previous discussion in https://github.com/bitcoin/bitcoin/pull/4719