shlib.sh: move octet20 pattern from gc.sh into shlib.sh