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

(cherry picked from commit 686d691f)
70 jobs for !6319 with 3356-wrong-path-for-geoip-directory-v9_16 in 22 minutes and 12 seconds (queued for 3 seconds)
latest merge request