s3:idmap: move loading of idmap options together before range checking in idmap_init_...