noise: Throw exception on noise allocation failure
Merge commit '25945dc' into stable

Conflicts:
	src/noise.cpp