mediatek: fix image building