The variation of fundamental constants and the role of A = 5 and A = 8 nuclei on primordial nucleosynthesis