Add Q_NORETURN to function that always throws.

To help compilers and analyzing tools.

Change-Id: Icd2e25e8fec7ea2962ed8366ea5b9cf43c07c247
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>