Japan's government says it is doing all it can to free a Japanese journalist being held hostage in Syria, after an apparent photo of the man was posted on the internet.