[gem5-scripts] Support page size variants in script.