It was needed on macOS for a time when BUrl used regexes for parsing. Now it does not, and so we can remove libshared's RegExp from build libshared, and thus also libgnuregex.