Add which method to functions.prf for Windows.

On Windows the where util is similar to which, but it can return
multiple matches so only the first one is selected.

Change-Id: I55953ce5dd4940a37ab4fae7baa78dd2deed1085
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>