Green Book writer apologises for old tweet about Muslims, 9/11