Add Asterisk Version to core show locks

Assist with reporting 'core show locks' when submitting bug reports.

Example below:

===========================
== SVN-branch-1.8-...
== Currently Held Locks
===========================


(closes issue ASTERISK-21743)

Reported by: alecdavis
Tested by: alecdavis
alecdavis (license 585)



git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/1.8@387294 f38db490-d61c-443f-a65b-d21fe96a405b
chan_dahdi: fix lower bound check with -ve integer conversion from a float 

Lower bound of a 16bit signed int is -32768 not -32767

(closes issue ASTERISK-21744)

Reported by: alecdavis
Tested by: alecdavis
alecdavis (license 585)



git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/1.8@387297 f38db490-d61c-443f-a65b-d21fe96a405b