[COOK-2681] correctly set slow query log parameters for MySQL >= 5.5

Signed-off-by: Seth Vargo <sethvargo@gmail.com>