There is no difference between these two statements in this sentence, but for "久" and "长时间", there will be some differences in the following sentences:
好久不见!(More formal, it often appears in letters)
好长时间不见了!(More colloquial, which is often said in daily life)