checksec.sh enhancements for bash 2.x