t: Fix 'type' redirection in load.t

Output of 'type' command is directed to stdout in some operating
systems even if it goes error.  This commit changes the output
redirection of 'type' type command when bshtap is not loaded.
Merge branch 'fix-for-netbsd' into pu

* fix-for-netbsd:
  t: Fix 'type' redirection in load.t