Impact of disorder on the optoelectronic properties of GaN$_y$As$_{1-x-y}$Bi$_x$ alloys and heterostructures