abspath,abs_readlink: fix shellcheck issues

Signed-off-by: Christopher Larson <kergoth@gmail.com>