Add support for image textures on height fields

Height fields for render generation (in init_heightmap) should no longer
contain the .jpg extension. This is necessary to find the correct
texture (we need to find foo.jpg and foo_tex.jpg).