Linuxbrew: Ensure HOMEBREW_TEMP is executable

Add a brew doctor test to ensure that HOMEBREW_TEMP is executable.

Closes Homebrew/linuxbrew#174