Replace internal jpeg with jpeg-turbo

Unfortunately requires nasm - the netwide assembler - http://www.nasm.us/

Upstream libjpeg-turbo is meant to be built with CMake on Windows but
thanks to our gcc-wrappers we are able to avoid that.

Change-Id: Id87b7072a8acc2578c3abf7e82cb1499e5094dbf