Jail inmate charged with trying to bribe witness