Fix two bugs concerned with duplicate named patterns.


git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1482 2f5784b3-3f2a-0410-8824-cb99058d5e15