target/adm5120: fix image building after r20834