movtextdec: Move declaration out of for initialisation statement