lua: depend on readline to fix build

the runtime dependency is only in the lua packages, not
in packages building against the static liblua.