Removed update_llvm.sh dependence on GNU sed extensions

update_llvm.sh depends on a GNU extension to sed. This commit changes the script to rely on standard (POSIX ERE) features.