MT#9177 Fix device annotations sql error in devmod_edit.