Remove extraneous '$' in AS_VAR_COPY([MAXMINDDB_PREFIX], [with_maxminddb])

(cherry picked from commit 686d691f)
65 jobs for !6318 with 3356-wrong-path-for-geoip-directory-v9_18 in 19 minutes and 19 seconds (queued for 6 seconds)
latest merge request