Throw specific exception on missing sound definitions

To help track down what crashed here: http://pastebin.com/EMimv0KB (reported by klaas on IRC).