The Japanese government is drawing up plans to finance investments in agricultural production in developing countries, in the latest sign of nervousness about food security among countries that import agricultural commodities.