scripts: account for master branch merges in release notes script
scripts: account for master branch merges in release notes script

Without this commit, the build may break if a PR commit is created, as
that shows the `PR_NUMBER` field we parse out as "master", reflecting
that its a merge commit into the master branch.

aakselrod/lnd,aakselrod/lnd