autotools: Disable assertions unless --enable-debug is passed

Signed-off-by: Michael Ikey Doherty <michael.i.doherty@intel.com>