functions: fix script interpreter lookup in add_binary
Account for there being (multiple) spaces in the shebang.
If type -P
finds the interpreter in PATH on BUILDROOT, then there is no
need to assign the new value and use it for lookup later. At that stage
the interpreter has been found to exist.