Simplify the HDRemaster struct, eliminating the need for the g_MemoryEnd variable.
Fix bad autotests commit.
Merge pull request #2676 from thedax/hdRemasterSupport

HDRemaster support: Simplify/tidy the code