base-files: fix ramoverlay function with kernels 3.18+