Define setq-local if it is not defined

setq-local is intruduced at Emacs 24.3, so it is not defined
on old Emacs(<= 24.2)

Please see this patch.