bash-builtin.c: Get rid of const_cast

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>