Diffraction measurements with a boron-based GEM neutron detector