Fix compile error for ast106, Fix pbx_channel_ref for other channel drivers

git-svn-id: https://svn.code.sf.net/p/chan-sccp-b/code/trunk@4755 43c1dc8c-776e-4df2-8ef1-6e829299be21