Fix --disable-gltf build

saveAndReload tests export, which is needed only
when gltf support is enabled.

Change-Id: I08152c12db77ad2fc623f2699784b968378686db
(cherry picked from commit 634530620e6a51c5ea8f1596f6ab51b2a7e2ea9c)