Conditionally set HOMEBREW_PREFIX in go script

To enable behavior like:

```sh
HOMEBREW_PREFIX=~/.brew ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
```