environment.c: fix constness for odb_pack_keep()