Add MySQL error info to exception on statement prepare failure