Yes both are suitable substitutes. Just note that you may need to adjust the liquid needed to achieve a moist stuffing. Especially with the whole wheat flour which soaks up much more liquid than other flours. I suggest starting with the amount of broth as instructed in the recipe, then add more 1/2 cup at a time until the stuffing mixture appears moist and soft.