specs: allow for package.config differences in Lua 5.1.

* specs/package_ext_spec.lua (it splits package.config up): Allow
for optional trailing \n present in 5.2 but not 5.1.