fixed compilation warnings for debug builds under RHEL6/g++ and OS X/clang++
Merge branch 'v2p5p0' of https://github.com/bedops/bedops into v2p5p0