lua-5.1, lua-5.2: fix typo / copy-n-paste mistake in configurePhase

s/LDLAGS/LDFLAGS/g in both packages
Merge pull request #3242 from phi-gamma/master

lua-5.1, lua-5.2: fix typo / copy-n-paste mistake in configurePhase