Grain geometry effect on the magnetic properties of a granular iron-based superconductor LaFeAsO1−xFx