compile_pkgs: fix invalid hash because of trailing white characters
White characters were invalidly being ignored in sed used to extract OpenWrt hash from URL. This lead to checkout failing. This is primarily problem with script introduced in !146 (merged)